package com.xf.enums;

/**
 * @author
 * @description
 * @date 2021-01-26
 **/
public enum PermissionTypeEnum {
    RESOURCE(0, "资源"),
    MENU(1, "菜单"),
    ;

    private Integer type;

    private String desc;

    PermissionTypeEnum(Integer type, String desc) {
        this.type = type;
        this.desc = desc;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
